﻿using System;
using System.Data;
using OneMG.Phoenix.Entity;
using System.Collections.Generic;
namespace OneMG.Phoenix.Respository
{
    public interface IProductPhotos
    {
    
        System.Int32 AddProductPhotos(EProductPhotos productPhotos);

        void UpdateByPhotoID(EProductPhotos productPhotos);

		void DeleteByPhotoID(System.Int32 photoID);

        void DeleteByProductID(System.Int32 productID);

		 
        EProductPhotos GetByPhotoID(System.Int32  photoID);

        IList<EProductPhotos> GetListByProductID(System.Int32 productID);
    }
}